FROM ccr.ccs.tencentyun.com/eqxiu-base/openjdk:8-jre-alpine

ADD eqxiu-iom-msg-service/target/eqxiu-iom-msg-service /app

WORKDIR /app

ENV JAVA_TOOL_OPTIONS "-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -XX:+DisableExplicitGC -Djava.security.egd=file:/dev/./urandom"

EXPOSE 40000

ENTRYPOINT /bin/sh bin/boot.sh start